using System;
using System.Collections.Generic;
using System.Text;
namespace Decision.BusinessLayer
{
	public class DCS_COURT
	{

		#region InnerClass
		public enum DCS_COURTFields
		{
			COURT_ID,
			COURT_NAME
		}
		#endregion

		#region Data Members

			int _cOURT_ID;
			string _cOURT_NAME;

		#endregion

		#region Properties

		public int  COURT_ID
		{
			 get { return _cOURT_ID; }
			 set
			 {
				 if (_cOURT_ID != value)
				 {
					_cOURT_ID = value;
					 PropertyHasChanged("COURT_ID");
				 }
			 }
		}

		public string  COURT_NAME
		{
			 get { return _cOURT_NAME; }
			 set
			 {
				 if (_cOURT_NAME != value)
				 {
					_cOURT_NAME = value;
					 PropertyHasChanged("COURT_NAME");
				 }
			 }
		}


		#endregion

		#region not support PropertyChangeEvent

		protected virtual void PropertyHasChanged(string propertyName)
		{
			return;
		}

		#endregion
/********** not support Validation
		#region Validation

		internal override void AddValidationRules()
		{
			ValidationRules.AddRules(new Validation.ValidateRuleNotNull("COURT_ID", "COURT_ID"));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("COURT_NAME", "COURT_NAME",255));
		}

		#endregion
********/

	}
}
